package com.zyzd.baseprojectofvolly.bean.local;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by LZY on 2017/6/28.
 */

public class PayloadBean implements Serializable{
    /**
     * bodies : [{"msg":"您好，我是咨询师小美","type":"txt"}]
     * ext : {"avater":"http://api.beaute2u.com/image/download/5a5d67a8ec9b48c08d9ecc3cb97c7fd4","nickname":"小美","type":1}
     * from : ecffaf477a474d6e90457cecc9233644
     * to : 3b8900f72c6a421aa795026202b2068a
     */

    private ExtBean ext = new ExtBean();
    private String from;
    private String to;
    private List<ApiMessageBody> bodies = new ArrayList<>();

    public ExtBean getExt() {
        return ext;
    }

    public void setExt(ExtBean ext) {
        this.ext = ext;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public List<ApiMessageBody> getBodies() {
        return bodies;
    }

    public void setBodies(List<ApiMessageBody> bodies) {
        this.bodies = bodies;
    }

}
